import tkinter as tk

class TkApp(object):
    def __init__(self, title=""):
        self.__title = title
        self._root = tk.Tk()
        self._root.title(self.__title)

    def on_load(self):
        pass

    def run(self):
        self._root.mainloop()
